Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf

This commit fixes the style issues introduced in 6ec06f1 according to the output
from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java
Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt,
Scalafmt, StandardJS, StandardRB, swift-format and Yapf.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored May 10, 2024
1 parent 6ec06f1 commit da49bfa
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/models/transfer.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
const mongoose = require("mongoose");
const mongoose = require('mongoose')

const transferSchema = new mongoose.Schema({
sender_id: { type: mongoose.Schema.Types.ObjectId, ref: "User", required: true },
sender_id: {
type: mongoose.Schema.Types.ObjectId,
ref: 'User',
required: true
},
receiver_account_id: { type: String, required: true },
amount: { type: Number, required: true },
transaction_hash: { type: String },
});
transaction_hash: { type: String }
})

const Transfer = mongoose.model("Transfer", transferSchema);
const Transfer = mongoose.model('Transfer', transferSchema)

module.exports = Transfer;
module.exports = Transfer

0 comments on commit da49bfa

Please sign in to comment.