« first day (2877 days earlier)      last day (1240 days later) » 

 
2 hours later…
 
2 hours later…
 
2 hours later…
06:59
// Call your server to set up the transaction
createOrder: function(data, actions) {
return fetch('/demo/checkout/api/paypal/order/create/', {
method: 'post'
}).then(function(res) {
return res.json();
}).then(function(orderData) {
return orderData.id;
});
},
This is the code and i also want to get form data in this function
1 message moved from JavaScript
// Call your server to set up the transaction
createOrder: function(data, actions) {
return fetch('/demo/checkout/api/paypal/order/create/', {
method: 'post'
}).then(function(res) {
return res.json();
}).then(function(orderData) {
return orderData.id;
});
},
1 message moved from JavaScript
 
2 hours later…
 
3 hours later…
 
3 hours later…
16:52
Why do I get the error that the trait Deserialize is not implemented for glob::Pattern ?
pub fn deserialize_glob_pattern<'de, D>(deserializer: D) -> Result<glob::Pattern, D::Error>
    where D: Deserializer<'de>
{
    let s = String::deserialize(deserializer);
    glob::Pattern::new(s)
        .ok_or_else(|| D::Error::Custom("invalid glob pattern: {:?}", s))
}

#[derive(Debug, Clone, Deserialize)]
pub struct SpecialPath {

    #[serde(deserialize_with = "deserialize_glob_pattern")]
    pub pattern: glob::Pattern,

    pub handling: SpecialHandling,

}
17:49
3 messages moved from Rust
 
4 hours later…
21:53
Thanks for ruining my life kids
dont worry ill be door knocking the whole gta
@KevinB, this aint a kid game. theres war in the market.
whatever you say bud
Why mad you mad you aint no gangster
22:13
Your the ones that made me like lol
I don't even want to break bread with you people you guys are hurt.
You guys too poor
22:45
wtf

« first day (2877 days earlier)      last day (1240 days later) »