mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-05-31 22:58:32 +00:00
Update internal/uris/uri.go
Co-authored-by: Daenney <daenney@users.noreply.github.com>
This commit is contained in:
parent
550c9ae343
commit
0460300521
|
@ -109,7 +109,7 @@ func GenerateURIForBlock(username string, thisBlockID string) string {
|
|||
return fmt.Sprintf("%s://%s/%s/%s/%s/%s", protocol, host, UsersPath, username, BlocksPath, thisBlockID)
|
||||
}
|
||||
|
||||
// GenerateURIForBlock returns the AP URI for a new block activity -- something like:
|
||||
// GenerateURIForMove returns the AP URI for a new Move activity -- something like:
|
||||
// https://example.org/users/whatever_user/moves/01F7XTH1QGBAPMGF49WJZ91XGC
|
||||
func GenerateURIForMove(username string, thisMoveID string) string {
|
||||
protocol := config.GetProtocol()
|
||||
|
|
Loading…
Reference in a new issue