mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-12 12:20:55 -08:00
Merge branch 'master' of github.com:Jermolene/TiddlyWiki5
This commit is contained in:
commit
843319ebb0
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ GiteaSaver.prototype.save = function(text,method,callback) {
|
|||
headers = {
|
||||
"Accept": "application/json",
|
||||
"Content-Type": "application/json;charset=UTF-8",
|
||||
"Authorization": "Basic " + window.btoa(username + ":" + password)
|
||||
"Authorization": "token " + password
|
||||
};
|
||||
// Bail if we don't have everything we need
|
||||
if(!username || !password || !repo || !filename) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue