Skip to content
This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Commit ec770fc

Browse files
committed
fix: change to correct number for url path
1 parent cf66b40 commit ec770fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

membership.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (m *membership) sudoGetTokenFromAccountID(w http.ResponseWriter, r *http.Re
197197
return
198198
}
199199

200-
id := getURLPart(r.URL.Path, 3)
200+
id := getURLPart(r.URL.Path, 2)
201201

202202
tok, err := backend.DB.GetFirstUserFromAccountID(conf.Name, id)
203203
if err != nil {

0 commit comments

Comments
 (0)