mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-12 15:17:28 -06:00
start with ap
This commit is contained in:
parent
dafc3b5b92
commit
b0819c1a63
6 changed files with 117 additions and 62 deletions
|
|
@ -93,7 +93,7 @@ func (m *Module) StatusCreatePOSTHandler(c *gin.Context) {
|
|||
// So now we can start digging a bit deeper into the form and building up the new status from it.
|
||||
|
||||
// first we create a new status and add some basic info to it
|
||||
uris := util.GenerateURIs(authed.Account.Username, m.config.Protocol, m.config.Host)
|
||||
uris := util.GenerateURIsForAccount(authed.Account.Username, m.config.Protocol, m.config.Host)
|
||||
thisStatusID := uuid.NewString()
|
||||
thisStatusURI := fmt.Sprintf("%s/%s", uris.StatusesURI, thisStatusID)
|
||||
thisStatusURL := fmt.Sprintf("%s/%s", uris.StatusesURL, thisStatusID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue