diff options
| author | 2021-05-08 14:25:23 +0200 | |
|---|---|---|
| committer | 2021-05-08 14:25:23 +0200 | |
| commit | ac9adb172b09882b12659a3e43a94d724eb65378 (patch) | |
| tree | 0f97edf4377f406df321054d26e731ff5dcc6667 /internal/apimodule/auth | |
| parent | make boosts work woo (#12) (diff) | |
| download | gotosocial-ac9adb172b09882b12659a3e43a94d724eb65378.tar.xz | |
Revert "make boosts work woo (#12)" (#15)
This reverts commit 9616f46424363adbc124da52c6728ca047506403.
Diffstat (limited to 'internal/apimodule/auth')
| -rw-r--r-- | internal/apimodule/auth/auth.go | 4 | ||||
| -rw-r--r-- | internal/apimodule/auth/test/auth_test.go (renamed from internal/apimodule/auth/auth_test.go) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/apimodule/auth/auth.go b/internal/apimodule/auth/auth.go index 0a6788c37..341805b40 100644 --- a/internal/apimodule/auth/auth.go +++ b/internal/apimodule/auth/auth.go @@ -32,9 +32,9 @@ import ( const ( // AuthSignInPath is the API path for users to sign in through - AuthSignInPath = "/auth/sign_in" + AuthSignInPath = "/auth/sign_in" // OauthTokenPath is the API path to use for granting token requests to users with valid credentials - OauthTokenPath = "/oauth/token" + OauthTokenPath = "/oauth/token" // OauthAuthorizePath is the API path for authorization requests (eg., authorize this app to act on my behalf as a user) OauthAuthorizePath = "/oauth/authorize" ) diff --git a/internal/apimodule/auth/auth_test.go b/internal/apimodule/auth/test/auth_test.go index 95ae0e751..2c272e985 100644 --- a/internal/apimodule/auth/auth_test.go +++ b/internal/apimodule/auth/test/auth_test.go @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -package auth_test +package auth import ( "context" |
