mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-07-12 07:51:08 -04:00
Move to a consistent way of handling IDs in URLs
This commit is contained in:
@ -335,9 +335,10 @@ func OFXFileImportHandler(context *Context, r *http.Request, user *User, account
|
||||
/*
|
||||
* Assumes the User is a valid, signed-in user, but accountid has not yet been validated
|
||||
*/
|
||||
func AccountImportHandler(context *Context, r *http.Request, user *User, accountid int64, importtype string) ResponseWriterWriter {
|
||||
func AccountImportHandler(context *Context, r *http.Request, user *User, accountid int64) ResponseWriterWriter {
|
||||
|
||||
switch importtype {
|
||||
importType := context.NextLevel()
|
||||
switch importType {
|
||||
case "ofx":
|
||||
return OFXImportHandler(context, r, user, accountid)
|
||||
case "ofxfile":
|
||||
|
Reference in New Issue
Block a user